package com.qzxy.premiumhotelsystem.service;

import com.qzxy.premiumhotelsystem.common.result.PageResult;
import com.qzxy.premiumhotelsystem.common.result.Result;
import com.qzxy.premiumhotelsystem.domain.dto.*;
import com.qzxy.premiumhotelsystem.domain.entity.Orders;
import com.baomidou.mybatisplus.extension.service.IService;


/**
* @author 14912
* @description 针对表【orders】的数据库操作Service
* @createDate 2024-09-12 15:55:14
*/
public interface OrdersService extends IService<Orders> {

    Result createBookOrder(OrderDTO orderDTO);

    Result payBookOrder(PayOrderDTO payOrderDTO);

    Result<PageResult> pageBookingOrderVos(OrderPageDTO orderPageDTO);

    Result updateOrderMessage(OrderUpdateDTO orderUpdateDTO);

    Result pageQueryOrders(Integer pageNo, Integer pageSize);

    Result selectOrderDetailVO(String orderId);

    Result cancelOrder(String orderId);

    Result getOrderDetail(String orderId);

    Result reNewOrder(OrderRenewDTO orderRenewDTO);

    Result findOverdueOrders();
}
